<template>
  <div class="page-center">
    <van-nav-bar
      title="个人中心"
      left-text="返回"
      left-arrow
      right-text="退出"
      @click-left="$router.back()"
      @click-right="store.logout()"
    />
  </div>
</template>

<script lang="ts" setup>
import { useUserStore } from "@/stores/user";

const store = useUserStore();
</script>
